from django.http import HttpResponse
from django.shortcuts import render



# Create your views here.
def test2(request):
    return HttpResponse("测试app02路由分发")

def test(request):
    from django.urls import reverse
    url = reverse("v2:login")  # /app01/index/ 通过name反射出完整路径
    print(url)
    return HttpResponse("测试app02的test路由分发")




"""
这部分用于体现反射的意义

"""
app='001'
age=15
name='好爸爸'